/*
 ============================================================================
 Name        : PochamerSymbol.c
 Author      : 
 Version     :
 Copyright   : Your copyright notice
 Description : Hello World in C, Ansi-style
 ============================================================================
 */

#include <stdio.h>
#include <stdlib.h>



double poch_rek (double x, int n){
double ergebnis = x + n-1;

if (n==0) return 1;
if (n==1)return x;

	return ergebnis = ergebnis * poch_rek(x, n-1);
}


int main(void) {

	double poch;
	poch = poch_rek (2,3);

	printf ("poch_rek = %f", poch);
	return EXIT_SUCCESS;
}
